#ifndef __HORNED_TEXTURE_BRUSH_H__
#define __HORNED_TEXTURE_BRUSH_H__

#include "gofgame/common/graphics/TextureBrush.h"

namespace gofgame {
	namespace common {
		namespace graphics {
			class HornedTextureBrush : public TextureBrush {
			public:
				HornedTextureBrush(const CCSize &cornerSize, CCTexture2D *texture, Brush *baseBrush);
				const CCSize &getCornerSize() const;

			protected:
				virtual void onFillRect(float left, float top, float width, float height) _override;

			private:
				CCSize cornerSize;
			};
		}
	}
}

#endif //__HORNED_TEXTURE_BRUSH_H__
